#_*_coding:utf-8_*_
import requests
#无参数get请求
r = requests.get('http://www.114site.com')
print(r.text)
#有参数get请求
# payload = {'key1':'value1','key2':'value2'}
# #传递list给请求参数
# #payload = {'key1': 'value1', 'key2': ['value2', 'value3']}
# r = requests.get('http://www.114site.com',params=payload)
# print(r.url)

